package com.eight.paper.admin.domain;

import com.eight.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;

/**
 * 考生答卷得分明细对象 exam_paper_answer
 * 
 * @author eight
 * @date 2023-10-31
 */
@Data
public class ExamPaperAnswer
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 考生id，exam_paper_examinee.id */
    @Excel(name = "考生id，exam_paper_examinee.id")
    private Integer examineeId;

    /** 考试试题表id，exam_paper_question.id,动态生成时为空 */
    @Excel(name = "考试试题表id，exam_paper_question.id,动态生成时为空")
    private Integer paperQuestionId;

    /** 考试题版本id，exam_paper_config.id */
    @Excel(name = "试题版本id，exam_paper_config.id")
    private Integer configId;

    /** 试题版本id，question_version.id */
    @Excel(name = "试题版本id，question_version.id")
    private Integer versionId;

    /** 答题序号，填空题、B1等多个小题对应，默认1 */
    @Excel(name = "答题序号，填空题、B1等多个小题对应，默认1")
    private Integer seqNo;

    /** 答题内容 */
    @Excel(name = "答题内容")
    private String answer;

    /** 客观题正确标识：1、是，0否 */
    @Excel(name = "客观题正确标识：1、是，0否")
    private Integer correct;

    /** 每小题得分 */
    @Excel(name = "每小题得分")
    private BigDecimal score;

    /** 标记 */
    @Excel(name = "标记，1：是，0：否")
    private Integer remark;

    /** 批卷 */
    @Excel(name = "批卷，1：是，0：否")
    private Integer mark;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

}
